<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<style>
			.maxBox{
				width: 800px;
				background-color: pink;
				overflow: auto;
			}
			
			.minbox1{
				width: 200px;height: 200px;
				background-color: green;
				float: right;
			}
			
			.minbox2{
				width: 300px;height: 300px;
				background-color: gold;
				float: left;
			}
			
		</style>
	</head>
	<body>
		<div class="maxBox">
			<div class="minbox1"></div>
			<div class="minbox2"></div>
		</div>
	</body>
</html>
